package com.ticket.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ticket.common.annotation.Excel;
import com.ticket.common.core.domain.BaseEntity;

/**
 * 出票退款明细对象 yuanchu_refund_backend_order_detail
 * 
 * @author ruoyi
 * @date 2024-02-19
 */
public class YuanchuRefundBackendOrderDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 退款单id(关联yanchu_refund_backend_order表主键) */
    @Excel(name = "退款单id(关联yanchu_refund_backend_order表主键)")
    private Long refundOrderId;

    /** 订单明细表id（关联yanchu_order_detail表主键） */
    @Excel(name = "订单明细表id", readConverterExp = "关=联yanchu_order_detail表主键")
    private Long orderDetailId;

    /** 订单编码 */
    @Excel(name = "订单编码")
    private Long orderId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRefundOrderId(Long refundOrderId) 
    {
        this.refundOrderId = refundOrderId;
    }

    public Long getRefundOrderId() 
    {
        return refundOrderId;
    }
    public void setOrderDetailId(Long orderDetailId) 
    {
        this.orderDetailId = orderDetailId;
    }

    public Long getOrderDetailId() 
    {
        return orderDetailId;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("refundOrderId", getRefundOrderId())
            .append("orderDetailId", getOrderDetailId())
            .append("createTime", getCreateTime())
            .append("orderId", getOrderId())
            .toString();
    }
}
